package com.zs.admin.validate.schoolbook;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.zs.common.validator.annotation.IDMust;

/**
 * 校本书编辑参数
 * @author SwAdmin
 */
@Data
@ApiModel("校本书编辑更新参数")
public class SchoolBookEditUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "校本书id")
    private Long bookId;

    @ApiModelProperty(value = "页id")
    private Integer pageId;

    @ApiModelProperty(value = "mark文本")
    private String text;

    @ApiModelProperty(value = "mark id")
    private String markId;

    @ApiModelProperty(value = "mark类型")
    private String markType;

    @ApiModelProperty(value = "0: 智书，1：校本")
    private Integer markSrc;

    @ApiModelProperty(value = "排序")
    private Integer sort;

}
